package org.example.petitionplatformsystem.service;

import org.example.petitionplatformsystem.dao.model.LeaderMailbox;

import java.util.List;

public interface LeaderMailboxService {
    LeaderMailbox addLeaderMailbox(LeaderMailbox leaderMailbox);

    void updateLeaderMailbox(LeaderMailbox leaderMailbox);

    void deleteLeaderMailbox(LeaderMailbox leaderMailbox);

    LeaderMailbox getLeaderMailboxById(long id);

    List<LeaderMailbox> getAllLeaderMailboxes();
    List<LeaderMailbox> getAllLeaderMailboxesByUserId(long userId);

}
